package com.trust.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.trust.entity.FieldPlantLand;

import java.util.List;

public interface FieldPlantLandService extends IService<FieldPlantLand> {

    /**
     * 获取
     * @param landId
     * @return
     */
    List<FieldPlantLand> getByLandId(Integer landId);

    /**
     * 获取
     * @param fieldId
     * @return
     */
    List<FieldPlantLand> getByFieldId(Integer fieldId);

    /**
     * 删除
     * @param id
     */
    void removeByFieldId(Integer id);

}
